﻿using SqlSugar;

namespace flowerWebApi.Entity
{
    public class Flower
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string Title { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int type { get; set; }

        /// <summary>
        /// 列表页图片
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string Image { get; set; }
    }
}
